Skip to main content

Edison_4WD_Auto_Robotic_Platform

The 4WD Auto Robotic Platform is a powerful mobile unit with the Intel Edison Arduino kit, to control this platform you have to use a smart phone or a computer with wifi capable to connect to its wifi accessible piont, open a web browser input the address http://192.168.42.1:8000 than a operation dashboard comes up. This is a primary project if you are a maker and ability to hack this platform welcome to do a stronger remake.

Getting Started

Part List

PartsSpecificationMaterialQuantity
Bracket 1200 35 20mm * 3.0mmAluminum2
Bracket 2135 35 20mm * 3.0mmAluminum2
Angle Joint Structure29 12 10mm * 2.0mmMetal4
Top Plate200 132 1.5mmAluminum1
Bottom Board199 129 2.0mmAcrylic1
Battery Fixer67 15 2.0mmAcrylic2
Upper Board184 132 2.0mmAcrylic1
WheelФ85mm * W31mmPlastic & Rubber4
Shaft Couplerfor Ф4mm shaftMetal4
DC MotorSpec/2
DC Motor (Encoder Included)Spec/2
Distance HolderM3.0 * H45+6.0mmMetal4
Distance HolderM3 × 10mmMetal4
Distance HolderM2 * 10mmMetal3
Hexagon socket Countersunk Head ScrewM4.0 * H8.0mmMetal16
Cross Recessed Pan Head ScrewM4.0 * H8.0mmMetal4
Cross Recessed Pan Head ScrewM3 * 35mmMetal4
Cross Recessed Pan Head ScrewM3 * 8mmMetal30
Cross Recessed Pan Head Screw with WasherM3.0 * H6.0mmMetal8
Screw, Spring Lock Washer and Plain Washer assembliesM2 * 8mmMetal6
Hexagon NutM3Metal8
Spring Lock WasherM4Metal4
Plain WasherM3 7 0.5Metal4
Screw Driver/Metal & Plastic1
Hexagonal Head Wrench/Metal1
Grove - I2C Motor Driver/PCB1
Base Shield V2/PCB1
Grove - Universal 4 Pin Buckled 20cm Cable/Cable1
Dean Parallel AdapterPlug/1
Male of Dean Power Cable/Cable1
Dean to DC Power Cable/Cable1
TRX to Dean Power Cable/Cable1
Cable Tie3 * 60mmPlastic3
Assembly InstructionA4Copy Paper1

How to Assemble It

Assembly Instruction.pdf

1.Assemble the main body.

2.Connect the cables

1) Below are the parts with cables to be connected, you need a 2.5mm Slotted head screwdriver to srew the motor driver.

2) Stick the aluminum heatsinks to the chips on the motor driver, and assemble the middle board.

3) Connect the motor driver,the motor group's black cables connect to "M1-" "M2-" and the red ones connect to "M1+" "M2+", connect the power cable,the black cable to "GND", the red one to "VS".

4) Assemble the motor group into the main body, the motor in the same group must assemble to the same side. Use a nylon cable to tie up the wires,then plug the grove cable.

5) Put on the middle board, the power cable and the grove cable were to across the right hole.

6) Plug the 1-to-2 power connector the battery adapter cable and the arduino board power cable, the grove cable connect to A0 pin of the Base Shield.

7) Carefully plug the battery connector to get power up, test if it was right done now, if no led light up you must check the problem.

8) Plug the USB cables to test the software.

3.Continue assembling

Development Environment

Although the Edsion Arduino can be programed by arduino IDE but for stronger development we got into the linux system to do some low level development. The most important resource is the mraa library which provided by Intel, things aren’t that idealized that there are difficulties in our early development, in order to build a convenient development Environment we copy the partition of rootfs out of the linux file system in which we have already configured all the needed resource and built the 4WD platform project. The only thing you should do to have this platform work is to flash a new firmware into Edison. If you want to know what we have done in the linux system and how to do your own project see the github repository:

https://github.com/Seeed-Studio/Edison_WiFi_Car

For windows user

Install tools

Follow the Edison official web site getting started to install required drivers and the terminal emulator PuTTy.

Download dfu-util - Device Firmware Upgrade Utilities and extract the xz file to “C:\” or any other directory.

Add Environment Variables

Right click This PC > Advanced system setting > Environment Variables > copy the path of dfu-util.exe to catch the “Path” environment variable.

Flash new firmware

1.Download and unzip

Download customized firmware from seeed wiki

Download customized firmware from onedrive

2.Use the PuTTy

Follow the official Edison Getting Started Guide to log in edison with PuTTy.

3.Flash firmware

Follow the below steps.

Step 1. Double click flashall.bat

Step 2. Go to PuTTy input command line reboot or press the RESET button on the Edison Arduino board.

Step 3. Flashing firmware

Step 4. Edison reboot and Wi-Fi Car service started.

Step 5: Restart the power

Disconnect and reconnect the battery.

For Mac user

See Intel Edison official web site "Alternate Flashing Method".

For Linux user

1.Download customized image

>>wget https://www.seeedstudio.com/wiki/images/a/a6/Edison-image-rel1-maint-rel1-ww42-14-for-wificar.zip >>unzip edison-image-rel1-maint-rel1-ww42-14-for-wificar.zip >>7z x edison-image-rel1-maint-rel1-ww42-14-for-wificar.7z

2.Flash image

1)Intall dfu-util

sudo apt-get install dfu-util

2)Check which device is for edison:

>>ls /dev/ttyUSB*

3)Open serial terminal

>>sudo screen /dev/ttyUSB0 115200

4)Run flashall.sh

>>cd edison-image-rel1-maint-rel1-ww42-14-for-car >>sudo ./flashall.sh

5)Goto edison type in reboot

>>reboot

Application

Now use a smart phone or computer to search the WiFi accessible point, the SSID was named in a unique serier numbers by the S/N id on every edison main board like EDIOSN-FZED445001UCV501, and the passphrase is 12345678. After connected to the WiFi, open any web browser visit http://192.168.42.1:8000 you’ll see a dashboard with which to controll the 4WD Platform.

Wi-Fi car Android apk

How to program it

Navigate to /usr/share/car you’ll see the project, these files are:

>>cd /usr/share/wificar >>ls

car.py Car action class
car_httpd.py Webserver process
i2c_motor.py The i2c Motor driver
softi2c.py The softi2c driver for Edison
www Webserver source file

Enhancement - two Motor Driver

1. The wiring.

Here you'll need a wire stripper a soldering iron and scissors to cut down the motors' extension wires, and use one of them to make a new one-to-two motor power cable.

2. Assemble

Step 1. Connect the motors.

Step 2.Assemble the motor and the motor driver,pay attention to the yellow arrows, two motor drivers are screwed with only two screw.

Step 3.Connect the power wire and two grove cables.

Step 4. Put on the middle board.

Step 5. Plug the grove cables to D4(D4,D5) D8(D8,D9) with no special definition, test the connection by plug the battery.

3. Software modification

Goto the virtual terminal open car.py do the below change.

FAQ

1.If you have connected the Edison’s WiFi and the dashboard was shown but can’t controll the rover.

A:Try to restart the power.

2.The two USB ports on Edison Arduino board were blocked by a wheel what to do to connect USB cables?

A:You have to take down the wheel when you want to connect USB cables. If you want only to visit the linux system you can connect its WiFi AP and visit via SSH tools, the PuTTy is capable of SSH .

3.Have run the Wi-Fi car server and smart phone received the dashboard but can’t controll the rover. Why?

A:The i2c Motor Driver has a bug that if a complete byte of orders sending was interrupted the motor driver will lose controll. You have to reset the driver board by pressing the reset button on it.

Support

Tech Support

Please submit any technical issue into our [forum](https://forum.seeedstudio.com/).

Loading Comments...